home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / tsr / xsnap.zip / MAKEFILE < prev    next >
Text File  |  1992-11-09  |  452b  |  25 lines

  1. CC = gcc
  2. LINK = gcc
  3.  
  4. # Where is your extender?
  5. EXTENDER=C:\DJGPP\BIN\go32.exe
  6.  
  7. # Uncomment the second CFLAGS entry here to debug.
  8. CFLAGS = -O -c
  9. #CFLAGS = -g -O -DMSDOS
  10.  
  11. .c.o :
  12.         $(CC) $(CFLAGS) -c $<
  13.  
  14. OFILES=xsnap.o
  15.  
  16. all: xsnap.exe
  17.         echo > all
  18.  
  19. xsnap.exe: xsnap
  20.         strip xsnap
  21.         copy $(EXTENDER) /b+ xsnap /b xsnap.exe /b
  22.  
  23. xsnap: $(OFILES)
  24.         $(LINK) $(OFILES) -o $@ -lxt -lx -lsys -lpc -lm -lxmu 
  25.